package com.company.project.service.impl;

import com.company.project.dao.JdRegionsMapper;
import com.company.project.model.JdRegions;
import com.company.project.service.JdRegionsService;
import com.company.project.core.AbstractService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;


/**
 * Created by CodeGenerator on 2019/07/25.
 */
@Service
@Transactional
public class JdRegionsServiceImpl extends AbstractService<JdRegions> implements JdRegionsService {
    @Resource
    private JdRegionsMapper jdRegionsMapper;

	@Override
	public JdRegions findRegionsByPrePhone(String prePhone) {
		return jdRegionsMapper.findRegionsByPrePhone(prePhone);
	}
}
